package com.lex.entity.account;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

@Data
@Schema(name = "UpdateUserPasswordDto", description = "修改用户密码Dto")
public class UpdateUserPasswordDto {
    @Schema(description = "旧密码")
    @NotEmpty(message = "旧密码不能为空")
    String passwordOld;
    @Schema(description = "新密码")
    @NotEmpty(message = "新密码不能为空")
    String passwordNew;
}
